<?php
	$uri = $_SERVER['REQUEST_URI'];
	$uri_var = explode('/', $uri);
	
	$count = count($uri_var);
	$dot = "";
	for($i=0; $i<$count-2; $i++){$dot = $dot."../";}
?>
<?php include($dot.'mvz-config/system/begin.php'); ?>
<?php include($dot.'mvz-config/system/session_start.php'); ?>
<?php include($dot.'mvz-config/system/session.php'); ?>
<html>
<head>
	<?php include($dot.'mvz-admin/includes/head.php'); ?>
</head>
<body>
	<div class="body">
		<div class="header">
			<?php include($dot.'mvz-admin/includes/header.php'); ?>
		</div>
		<div style="clear:both;"></div>
		<div class="main">
			<div class="menu">
				<?php include($dot.'mvz-admin/includes/menu.php'); ?>
			</div>
			<div class="inside">
				<div <?php workspace_style(); ?>>
					<div class="submenu">
						<?php include('../includes/submenu.php'); ?>
					</div>
					<div class="area">
						<div class="field">
							<?php include('workspace/'.$ws_filename.'.php'); ?>
						</div>
					</div>
				</div>
			</div>
		</div>
		<div style="clear:both;"></div>
	</div>
</body>
</html>
<?php include($dot.'mvz-config/system/end.php'); ?>